<?php use_helper('Date') ?>
<?php use_helper('Number') ?>

<h3 style="float:left; text-decoration: underline; font: 26px/30px 'Yanone Kaffeesatz','Trebuchet MS'; color: #72A545; width: 85%;"><?php echo $reserva->getViviendasAlquileres()->getFullName($reserva->getViviendasAlquileres()) ?> <span style="margin-left: 25%;"> <?php echo __('reservaTitle', array('%0%' => $reserva->getDsorder()."-".$reserva->getId())) ?><span></h3>
<div class="closeSession"><?php echo link_to(__('closeSession'), '@reservas_logout'); ?></div>
<h5 style="clear: both;"><?php if(count($reserva->getAlquileresPrecios())>0): ?>
	<?php foreach ($reserva->getAlquileresPrecios() as $semana): ?>
		<span style="background-color: #EEE; margin-right: 10px; font-size: 15px;"><?php echo format_date($semana->getFechaInicio(), 'dd MMMM yyyy') ?> - <?php echo format_date($semana->getFechaFin(), 'dd MMMM yyyy') ?></span> 
	<?php endforeach; ?>
<?php endif ?>
</h5>
<?php if($sf_user->getFlash('saved')=='ok'): ?>
	<div class="messages successMessage"><?php echo __('headerMerciRegister') ?></div>
<?php endif ?>

<?php include_partial('formPersona', array('formPersona' => $form)) ?>
  